#include "game.h"

void run_game() {
	cls();
	printf("During your long journey through the roads of the unknown, you come across a village. It looks to be inhabited by few people. The few people that seem to be living there are busy rushing about, as if there is an important event or occassion about to take place.\r\n\r\nPress ENTER to continue ...");
	getchar();
	cls();
	printf("Good day. My name is Faryach, from the village of Llyndon. You seem to have joined us just in time for the festivities. The chieftain's daughter is getting married. Will you join me in celebrating the wedding?\r\n\r\n> ");
	
	char *carrarrPositive[] = { "yes", "absolutely", "yeah", "" };
	char choice[10];
	gets(choice);
	char *lchoice;
	lchoice = tolower(choice);
	cls();
	if(chararrayinarray(choice, carrarrPositive)) {
		printf("The man's face lightens up and seems thrilled by your acceptance.\r\n\r\n\"Fantastic news! I will go inform the chieftain of your coming arrival!\"\r\n\r\nHe walks off exstatically, humming a tune to himself.");
	} else {
		printf("The man's face drops dejectedly, as if he were awaiting your acceptance.\r\n\r\n\"Are you sure? Not many people get married around here. It's a very sacred ceremony. The chieftain's daughter is one of the most beautiful women I've ever met, please join us?\"\r\n\r\n> ");
	}
}
